<?php

class Document extends BaseDocument
{
  function Document(){
    $this->setDocumentDate(date('Y-m-d'));
    $this->setOwnerIden('');
  }
  
  function void(){
    $this->setVoid('Y');
    $this->setVoidDate(date('Y-m-d H:i'));
    $this->save();
  }
  
}
